package com.toymate.modules.iot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * IotDeviceRole
 *
 * @author weirdor (179946422@qq.com)
 * @version v1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("iot_product")
@ApiModel(value = "设备角色表", description = "设备角色表")
public class IotDeviceRole implements Serializable {

    private final static long serialVersionUID = 1L;

    /**
     * 设备ID
     */
    @ApiModelProperty(name = "设备ID", notes = "")
    private String deviceId;
    /**
     * 角色ID
     */
    @ApiModelProperty(name = "角色ID", notes = "")
    private String roleId;
    /**
     * 创建人
     */
    @ApiModelProperty(name = "创建人", notes = "")
    private String createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(name = "更新人", notes = "")
    private String updateBy;
}
